
<table>
	<tr align="center">
		<th width="40">序号</th>
		<th>流水号</th>
		
		<th>帐号</th>
		<th>开始</th>
		<th>结束</th>
		<th>IP</th>
		<th>端口</th>
		<th>协议</th>
		<th>IP</th>
		<th>接受流量</th>
		<th>发送流量</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+$pager->from+1`"]}
	{[assign var="t1" value="`$t1+$item.bytes_received`"]}
	{[assign var="t2" value="`$t2+$item.bytes_sent`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td><a href="javascript:void(0)" onclick="Common.dialog_view_('{[$root]}{[$viewLink]}&id={[$item.id]}', '查看信息', '650x420')">{[$item.id]}</a></td>
		<td>{[$item.username]}</td>
		<td>{[$item.start_time]}</td>
		<td>{[$item.end_time]}</td>
		<td>{[$item.trusted_ip]}</td>
		<td>{[$item.trusted_port]}</td>
		<td>{[$item.protocol]}</td>
		<td>{[$item.remote_ip]}/{[$item.remote_netmask]}</td>
		<td>{[$item.bytes_received|printsize]}</td>
		<td>{[$item.bytes_sent|printsize]}</td>
	</tr>
	{[/foreach]}
</table>

{[include file="footer.tpl"]}
